package com.gaohe.post.service;

import java.util.List;
import com.gaohe.post.domain.FmPostView;

/**
 * 帖子围观Service接口
 * 
 * @author ruoyi
 * @date 2025-06-03
 */
public interface IFmPostViewService 
{
    /**
     * 查询帖子围观
     * 
     * @param postViewId 帖子围观主键
     * @return 帖子围观
     */
    public FmPostView selectFmPostViewByPostViewId(Long postViewId);

    /**
     * 查询帖子围观列表
     * 
     * @param fmPostView 帖子围观
     * @return 帖子围观集合
     */
    public List<FmPostView> selectFmPostViewList(FmPostView fmPostView);

    /**
     * 新增帖子围观
     * 
     * @param fmPostView 帖子围观
     * @return 结果
     */
    public int insertFmPostView(FmPostView fmPostView);

    /**
     * 修改帖子围观
     * 
     * @param fmPostView 帖子围观
     * @return 结果
     */
    public int updateFmPostView(FmPostView fmPostView);

    /**
     * 批量删除帖子围观
     * 
     * @param postViewIds 需要删除的帖子围观主键集合
     * @return 结果
     */
    public int deleteFmPostViewByPostViewIds(Long[] postViewIds);

    /**
     * 删除帖子围观信息
     * 
     * @param postViewId 帖子围观主键
     * @return 结果
     */
    public int deleteFmPostViewByPostViewId(Long postViewId);
}
